home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Coord / DLLClient / MkClientOs
Text File  |  1995-09-04  |  2KB  |  107 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Convert1    \
  4.             o.Convert2    \
  5.             o.Convert3    \
  6.             o.Convert4    \
  7.             o.PtInRect    \
  8.             o.RectCntain    \
  9.             o.RectsOvlap    \
  10.             o.RectUnion    \
  11.             o.WOrigin    \
  12.  
  13.  
  14. LibName        =    Coord
  15.  
  16.  
  17.  
  18. # Template makefile to make all .o files
  19. # for a DeskLib sublibrary. Compilation 
  20. # is for static linking with client
  21. # applications (ie not cc -zM but
  22. # _DeskLib_SDLS_CLIENT is predefined).
  23.  
  24. # The macro $(ObjectFiles) should be set at the 
  25. # start of this file, to be a space-separated
  26. # list of object files.
  27. # This is done by 'Makatic'.
  28.  
  29. # The macro $(LibName) should also be set at the 
  30. # start of this file, to be the name of the 
  31. # DeskLib sublibrary.
  32.  
  33. # Compiler flags, These can be anything. 
  34. # All essential flags (eg CC -zM
  35. # are included in the macro $(CC).
  36. #
  37. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
  38. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  39.  
  40. CC        =    cc -c $(CCFlags)
  41. ASM        =    ObjAsm $(ASMFlags)
  42.  
  43.  
  44. # -------------------------------------------------------
  45. # Everything below here should probably not be changed...
  46. # -------------------------------------------------------
  47.  
  48. # Here's what we want to make...
  49. #
  50. All:    $(ObjectFiles)
  51.  
  52.  
  53. VPATH = @.^
  54.  
  55. .SUFFIXES:    .o .c .s
  56.  
  57. .c.o:
  58.     $(CC) -o $@ $<
  59.  
  60. .s.o:
  61.     $(ASM) $(ASMFlags) -from $< -to $@
  62.  
  63.  
  64.  
  65. # Dynamic dependencies:
  66. o.Convert1:    ^.c.Convert1
  67. o.Convert1:    DeskLib:h.Core
  68. o.Convert1:    DeskLib:h.Coord
  69. o.Convert1:    DeskLib:h.Wimp
  70. o.Convert1:    DeskLib:h.Wimp
  71. o.Convert2:    ^.c.Convert2
  72. o.Convert2:    DeskLib:h.Core
  73. o.Convert2:    DeskLib:h.Coord
  74. o.Convert2:    DeskLib:h.Wimp
  75. o.Convert2:    DeskLib:h.Wimp
  76. o.Convert3:    ^.c.Convert3
  77. o.Convert3:    DeskLib:h.Core
  78. o.Convert3:    DeskLib:h.Coord
  79. o.Convert3:    DeskLib:h.Wimp
  80. o.Convert3:    DeskLib:h.Wimp
  81. o.Convert4:    ^.c.Convert4
  82. o.Convert4:    DeskLib:h.Core
  83. o.Convert4:    Desklib:h.Coord
  84. o.Convert4:    Desklib:h.Wimp
  85. o.Convert4:    DeskLib:h.Wimp
  86. o.PtInRect:    ^.c.PtInRect
  87. o.PtInRect:    DeskLib:h.Core
  88. o.PtInRect:    DeskLib:h.Wimp
  89. o.PtInRect:    DeskLib:h.Coord
  90. o.RectCntain:    ^.c.RectCntain
  91. o.RectCntain:    DeskLib:h.Core
  92. o.RectCntain:    DeskLib:h.Wimp
  93. o.RectCntain:    DeskLib:h.Coord
  94. o.RectsOvlap:    ^.c.RectsOvlap
  95. o.RectsOvlap:    DeskLib:h.Core
  96. o.RectsOvlap:    DeskLib:h.Wimp
  97. o.RectsOvlap:    DeskLib:h.Coord
  98. o.RectUnion:    ^.c.RectUnion
  99. o.RectUnion:    DeskLib:h.Core
  100. o.RectUnion:    DeskLib:h.Wimp
  101. o.RectUnion:    DeskLib:h.Coord
  102. o.WOrigin:    ^.c.WOrigin
  103. o.WOrigin:    DeskLib:h.Core
  104. o.WOrigin:    DeskLib:h.Wimp
  105. o.WOrigin:    DeskLib:h.Coord
  106.